#include "day_qt_layout.h"
#include <QApplication>

#include <CommonLib/MainWindow/MainWindow.h>
#include <CommonLib/ListWidget/ListWidget.h>
#include <CommonLib/LayoutWidget/LayoutWidget.h>

int day_qt_layout( int argc, char **argv )
{
    QApplication app(argc, argv);
    CMainWindow mainWindow;
    CListWidget listWidget(&mainWindow);
    CLayoutWidget *pLayout = new CLayoutWidget(&mainWindow);
    pLayout->showNormal();
    mainWindow.home();
    mainWindow.setGeometry( 100, 100, 800, 600 );
    mainWindow.show();
    return app.exec();
}
